package app.project.directionlensproject.util;

import android.graphics.Bitmap;

public class xmlresultclasses
{
  public static class GetLocation
  {
    float[] angle;
    Bitmap[] bitmap;
    int count;
    float[] distance;
    String[] icon;
    double[] latitude;
    double[] longitude;
    String[] name;
    double[] rating;
    String[] reference;
    int[] type;
  }

  public static class OrientationValues
  {
    public float Azimuth;
    public float Pitch;
    public float Roll;
  }

  public static class PlaceDetails
  {
    private String[] html_attributions;
    public Result result;
    public String status;

    class Result
    {
      private AddressComponents[] address_components;
      public String formatted_address;
      public String formatted_phone_number;
      public Geometry geometry;
      public String icon;
      public String id;
      public String name;
      public Photos[] photos;
      public double rating;
      public String reference;
      public Reviews[] reviews;
      public String[] types;
      public String url;
      public int utc_offset;
      public String vicinity;

      Result()
      {
      }

      class AddressComponents
      {
        private String long_name;
        private String short_name;
        private String[] types;

        AddressComponents()
        {
        }
      }

      class Geometry
      {
        public Location location;

        Geometry()
        {
        }

        class Location
        {
          public double lat;
          public double lng;

          Location()
          {
          }
        }
      }

      class Photos
      {
        int height;
        private String[] html_attributions;
        public String photo_reference;
        int width;

        Photos()
        {
        }
      }

      class Reviews
      {
        public Aspects[] aspects;
        public String author_name;
        public String author_url;
        public String text;
        public long time;

        Reviews()
        {
        }

        class Aspects
        {
          public double rating;
          public String type;

          Aspects()
          {
          }
        }
      }
    }
  }

  public static class Places
  {
    private String[] html_attributions;
    public String next_page_token;
    public Results[] results;

    class Results
    {
      public Geometry geometry;
      public String icon;
      public String id;
      public String name;
      public OpeningHours opening_hours;
      public double rating;
      public String reference;
      public String[] types;
      public String vicinity;

      Results()
      {
      }

      class Geometry
      {
        public Location location;

        Geometry()
        {
        }

        class Location
        {
          public double lat;
          public double lng;

          Location()
          {
          }
        }
      }

      class OpeningHours
      {
        public Boolean opening_hours;

        OpeningHours()
        {
        }
      }
    }
  }
}